package oop2;

/**
 * @author oldliu
 * @since 1.0
 */
public class MAkterTest {
    public static void main(String[] args) {
        JuiceMaker m=new JuiceMaker();
        m.brand="九阳";
        m.watt=50;
        m.price=499;
        //m.fruit="桃子";
        m.show();
        m.makeJuice("萝卜");
        System.out.println("----------------");
        //m.fruit="梨子";
        String shuiguo="葡萄";
        m.makeJuice(shuiguo);
        System.out.println("-------------------");
        shuiguo="苹果";
        m.makeJuice(shuiguo);
    }
}
